<template>
  <div style=" margin-left: 10px;text-align: center;">
    <h1>公告信息</h1>
    <p>{{a.information}}</p>
    <h1>发布企业</h1>
    <p>{{a.company}}</p>
    <h1>发布时间</h1>
    <p>{{a.time}}</p>
    <h1>附件</h1>
    <img src="./wj.png" style="width: 50px;height: 50px;"/>

  </div>
</template>

<script>
import { ggxq } from '../../api/rw';
  export default {
    data() {
      return {
        a:{}
      }
    },
    async mounted(){
      let r = this.$route.query.icon
      console.log(r);
      let n = await ggxq({id:r})
      console.log(n);
      this.a = n.data[0]
    }
  }
</script>

<style>
</style>
